package com.example.huangliting.experimentalarrangementsystem.util;

import android.content.Context;

import java.util.Calendar;

public class DateUitls {

    public static String formateDay(int dayOfWeak){
        switch (dayOfWeak){
            case Calendar.SUNDAY:
            default:
                return "周日";
            case Calendar.MONDAY:
                return "周一";
            case Calendar.TUESDAY:
                return "周二";
            case Calendar.WEDNESDAY:
                return "周三";
            case Calendar.THURSDAY:
                return "周四";
            case Calendar.FRIDAY:
                return "周五";
            case Calendar.SATURDAY:
                return "周六";
        }
    }
}
